projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9700caa
)
(ispell-word): Call ispell-dehighlight.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 12 Jul 1994 07:15:24 +0000
(07:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 12 Jul 1994 07:15:24 +0000
(07:15 +0000)
lisp/textmodes/ispell4.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ispell4.el
b/lisp/textmodes/ispell4.el
index 5776d2d3a2812d659cad0f039ca39a4cf3f8f31e..2ee40028ceb8a7159908b88ff85fd4b2075521ef 100644
(file)
--- a/
lisp/textmodes/ispell4.el
+++ b/
lisp/textmodes/ispell4.el
@@
-370,10
+370,12
@@
With a prefix argument, resume handling of the previous Ispell command."
(if resume
(ispell-next)
(condition-case err
- (catch 'ispell-quit
- (save-window-excursion
- (ispell-point (point) "at point."))
- (ispell-dump))
+ (unwind-protect
+ (catch 'ispell-quit
+ (save-window-excursion
+ (ispell-point (point) "at point."))
+ (ispell-dump))
+ (ispell-dehighlight))
(ispell-startup-error
(cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ")
(load-library "spell")